package Filter;

public class Person {
    private  String username;
    private  GenderEnum gender;
    private String maritalStatus;

    public Person(String username, GenderEnum gender, String maritalStatus) {
        this.username = username;
        this.gender = gender;
        this.maritalStatus = maritalStatus;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public GenderEnum getGender() {
        return gender;
    }

    public void setGender(GenderEnum gender) {
        this.gender = gender;
    }

    public String getMaritalStatus() {
        return maritalStatus;
    }

    public void setMaritalStatus(String maritalStatus) {
        this.maritalStatus = maritalStatus;
    }

    @Override
    public String toString() {
        return "Person{" +
                "username='" + username + '\'' +
                ", gender=" + gender +
                ", maritalStatus='" + maritalStatus + '\'' +
                '}';
    }
}
